package com.dongdongshop.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("skip")
public class Skip {

    //跳转到首页index
    @RequestMapping("toindex")
    public String toIndex(){
        return "admin/index";
    }

    //跳转到首页home
    @RequestMapping("tohome")
    public String tohome(){
        return "admin/home";
    }

    //跳转到登陆页面
    @RequestMapping("tologin")
    public String toLogin(){
        return "login";
    }

    //跳转到商家审核页面
    @RequestMapping("toseller_1")
    public String toseller_1(){
        return "admin/seller_1";
    }

    //跳转到商家管理页面
    @RequestMapping("toseller")
    public String toseller(){
        return "admin/seller";
    }

    //跳转到品牌管理页面
    @RequestMapping("tobrand")
    public String toBrand(){
        return "admin/brand";
    }

    //跳转到规格管理页面
    @RequestMapping("tospecification")
    public String tospecification(){
        return "admin/specification";
    }

    //跳转到模板管理页面
    @RequestMapping("totype_template")
    public String totype_template(){
        return "admin/type_template";
    }

    //跳转到分类管理页面
    @RequestMapping("toitem_cat")
    public String toitem_cat(){
        return "admin/item_cat";
    }

    //跳转到商品审核页面
    @RequestMapping("togoods")
    public String togoods(){
        return "admin/goods";
    }

    //跳转到广告类型管理页面
    @RequestMapping("tocontent_category")
    public String tocontent_category(){
        return "admin/content_category";
    }

    //跳转到广告管理页面
    @RequestMapping("tocontent")
    public String tocontent(){
        return "admin/content";
    }

}
